export const formItems = [
  {
    filed: 'orderId',
    type: 'input',
    label: '订单编号',
    placeholder: '请输入订单编号'
  },
  {
    filed: 'memberKey',
    type: 'input',
    label: '会员信息',
    placeholder: '请输入昵称/卡号/手机号'
  },
  {
    filed: 'coinsId',
    type: 'select',
    label: '设备',
    placeholder: '全部',
    options: []
  },
  {
    filed: 'fromType',
    type: 'select',
    label: '交易系统',
    placeholder: '全部',
    options: [
      { value: '01', label: '场馆小程序' },
      { value: '02', label: '设备厂商' }
    ]
  },
  {
    filed: 'payMethod',
    type: 'select',
    label: '支付方式',
    placeholder: '全部',
    options: []
  },
  {
    filed: 'payStatus',
    type: 'select',
    label: '订单状态',
    placeholder: '全部',
    labelCode: 'name',
    options: [
      // { value: '0', label: '待支付' },
      // { value: '1', label: '超时未支付' },
      // { value: '2', label: '取消支付' },
      // { value: '3', label: '支付成功' },
      // { value: '4', label: '退款中' },
      // { value: '5', label: '退款成功' }
    ]
  },
  {
    filed: 'issendCoin',
    type: 'select',
    label: '出币状态',
    placeholder: '全部',
    options: [
      { value: '0', label: '未出币' },
      { value: '1', label: '已出币' }
    ]
  }
]
export const queryFormConfig = {
  formItems,
  online: true
}
export const ContentConfig = {
  propList: [
    { prop: 'orderId', label: '订单编号', minWidth: '220', slotName: 'orderId' },
    { prop: 'info', label: '商品信息', minWidth: '120' },
    { prop: 'originalPrice', label: '价格(元)', minWidth: '80' },
    { prop: 'realPrice', label: '实付款(元)', minWidth: '100' },
    { prop: 'coinsName', label: '设备', minWidth: '160' },
    { prop: 'memberInfo', label: '会员信息', minWidth: '180' },
    { prop: 'fromType', label: '交易系统', minWidth: '110', slotName: 'system' },
    { prop: 'payMethod', label: '支付方式', minWidth: '100' },
    { prop: 'payTime', label: '支付时间', minWidth: '160' },
    { prop: 'createTime', label: '下单时间', minWidth: '160' },
    { prop: 'payStatus', label: '订单状态', minWidth: '100', slotName: 'orderStatus', fixed: 'right' },
    { prop: 'issendCoin', label: '出币状态', minWidth: '100', slotName: 'status', fixed: 'right' },
    { prop: '11', label: '操作', minWidth: '100', slotName: 'handler', fixed: 'right' }
  ]
}
